/**  
 * @Title: ComponentReturn.java
 * @Description: TODO(描述)
 * @author liuyi
 * @date 2023-08-06 02:58:58 
 */  
package com.fsxgt.datagrid.core.task;

import java.util.List;

import lombok.Data;

/**  
 * @ClassName: TaskReturn
 * @Description: TODO(描述)
 * @author liuyi
 * @date 2023-08-06 02:58:58 
*/
@Data
public class TaskReturn {
	
	private boolean isContinue =true ;
	private String msg = null ;
	private List<String> route=null;
	
	public TaskReturn() {
		
	}
	
	public TaskReturn(List<String> route) {
		this.route=route;
	}
	
	public TaskReturn(String msg,List<String> route) {
		this.isContinue=false;
		this.msg=msg;
		this.route=route;
	}
	
	public TaskReturn(String msg) {
		this.isContinue=false;
		this.msg=msg;
	}
	
	public boolean isContinue() {
		return isContinue;
	}

}
